// 封装响应数据
#[derive(serde::Serialize)]
pub struct ResData<T>
where
    T: serde::Serialize,
{
    pub code: u32,
    pub msg: String,
    pub data: T,
}

#[derive(serde::Serialize)]
pub struct ResData2 {
    pub code: u32,
    pub msg: String,
}
